package com.xiaomaoguai.eventbus.multi;

import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;

/**
 * @Description :
 * @FileName: DeadEventListener.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年6月18日 下午4:51:24
 * @Version:V1.00
 */
public class DeadEventListener {

	boolean notDelivered = false;

	@Subscribe
	public void listen(DeadEvent event) {
		notDelivered = true;

		System.out.println("哇咔咔。。出发了");

	}

	public boolean isNotDelivered() {
		return notDelivered;
	}

	public void setNotDelivered(boolean notDelivered) {
		this.notDelivered = notDelivered;
	}

}
